package com.lzh.persevere.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.lzh.persevere.common.BaseEntity;
import lombok.*;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 随笔表(EssayInfo)实体类
 *
 * @author luzhiheng
 * @since 2025-07-26
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("essay_info")
@Builder
@Accessors(chain = true)
@Entity
@Table(name = "essay_info", indexes = {})
public class EssayInfo extends BaseEntity {

    /**
     * 内容
     */
    @Column(name = "content", columnDefinition = "longtext COMMENT '内容'")
    private String content;

}

